package com.richpencil.utils;


import javax.servlet.http.HttpServletRequest;

public class SystemUtil {
/*
	public static SysUser getLoginUser(HttpServletRequest request) {
		return (SysUser) request.getSession().getAttribute(Global.LOGIN_USER);
	}
*/

	public static boolean isEmpty(CharSequence cs) {
		return ((cs == null) || (cs.length() == 0));
	}

/*	public static void setLoginUser(SysUser user, HttpServletRequest request) {
		request.getSession().setAttribute(Global.LOGIN_USER, user);
	}*/

	public static void RemoveLoginUser(HttpServletRequest request) {
		request.getSession().setAttribute(Global.LOGIN_USER, null);
	}
}
